﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace UtilZ.Dotnet.Ex.Communication.Net.Telnet.KeyCommands
{
    internal class TelnetKeyCommandManager
    {
        private static readonly IReadOnlyCollection<ITelnetKeyCommand> _commands;
        public static IReadOnlyCollection<ITelnetKeyCommand> Commands
        {
            get { return _commands; }
        }

        static TelnetKeyCommandManager()
        {
            _commands = new ITelnetKeyCommand[] 
            {
                new BackspaceCommand(),
                new DeleteCommand(),
                new EndCommand(),
                new EnterCommand(),
                new EscCommand(),
                new F1ToF12Command(),
                new HomeCommand(),
                new Pause_BreakCommand(),
                new TabCommand(),
                new WASDCommand(),
            };
        }

    }
}
